package PoJo;

public class Students {
    private Integer id;
    private String username;
    private String password;
    private String email;
    public Students() {
    }

    public Students(Integer id, String name, String password, String email) {
        this.id = id;
        this.username = name;
        this.password = password;
        this.email = email;
    }

    public Integer getId() {
        return id;
    }


    public String getName() {
        return username;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.username = name;
    }

    @Override
    public String toString() {
        return "Students{" +"\n"+
                "id=" + id +
                " name=" + username + '\'' +
                '}'+"\n";
    }
}
